if(CMAKE_CONFIGURATION_TYPES)
    foreach(config ${CMAKE_CONFIGURATION_TYPES})
        configure_file(${CMAKE_SOURCE_DIR}/constants.xml ${config}/constants.xml COPYONLY)
    endforeach(config)
else(CMAKE_CONFIGURATION_TYPES)
    configure_file(${CMAKE_SOURCE_DIR}/constants.xml constants.xml COPYONLY)
endif(CMAKE_CONFIGURATION_TYPES)

link_directories(${CMAKE_BINARY_DIR}/lib)
add_executable (Test_POW test_POW.cpp)
target_link_libraries(Test_POW PUBLIC POW DirectoryService Lookup Node Server Utils TestUtils Boost::unit_test_framework)
target_include_directories (Test_POW PUBLIC ${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/tests)
#add_test(NAME Test_POW COMMAND Test_POW)

link_directories(${CMAKE_BINARY_DIR}/lib)
add_executable (Test_RemoteMine test_RemoteMine.cpp)
target_link_libraries(Test_RemoteMine PUBLIC POW DirectoryService Lookup Node AccountStore AccountData Server Utils TestUtils Boost::unit_test_framework)
target_include_directories (Test_RemoteMine PUBLIC ${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/tests)
